package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 库存锁定日志表 数据库实体
 *
 * @author default
 * @date 2022-12-12
 */
@Data
@TableName("t_mate_inventory_lock_log")
public class MateInventoryLockLog extends SuperEntity {

    public static final String ORDER_TYPE ="order_type";

    public static final String LOCK_STATUS ="lock_status";

    public static final String SOURCE_ORDER_NO ="source_order_no";

    public static final String SOURCE_DETAIL_ORDER_NO ="source_detail_order_no";

    public static final String SOURCE_ORDER_TYPE ="source_order_type";

    public static final String SUBJECT ="subject";

    public static final String MATE_INVENTORY_ID ="mate_inventory_id";

    public static final String LOCK_QTY ="lock_qty";


    /** 枚举 订单类型:1-入库(t1)|2-出库(t2) */
    private Integer orderType;

    /** 枚举 入库状态:1-锁定(s1)|2-解锁(s2) */
    private Integer lockStatus;

    /** 原始单号 */
    private String sourceOrderNo;

    /** 原始详单号 */
    private String sourceDetailOrderNo;

    /** 原始订单类型 */
    private String sourceOrderType;

    /** 科目 */
    private String subject;

    /** 库存ID */
    private Long mateInventoryId;

    /** 锁定数量 */
    private Integer lockQty;

}
